<template>
	<view class="count">
		<view class="head_portrait">
			<view class="u-flex u-row-right u-p-t-30 u-p-r-50">
				<u-icon name="setting" size="50" color="#ffffff" @click="jump('/pages/user/sett')"></u-icon>
			</view>
			<view class="u-flex u-row-around">
				<view class="u-m-t-30">
					<u-avatar :src="src" mode="circle" :size="160"></u-avatar>
					<view class="u-text-center u-light-color u-font-40">{{name}}</view>
				</view>
			</view>
		</view>
		<view>
			<u-cell-group :border="false">
				<u-cell-item size="large" :title="item.title" :icon="item.icon" :isLink="true"
					@click="jump(item.url)" v-for="(item,index) in staticData" :key="index" />
			</u-cell-group>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				src: 'http://pic2.sc.chinaz.com/Files/pic/pic9/202002/hpic2119_s.jpg',
				name: "索尼&",
				staticData: [{
						title: "优惠劵",
						icon: require('@/static/image/images/coupon.png'),
						url: "/pages/user/coupon"
					},
					{
						title: "钱包",
						icon: require('@/static/image/images/pack.png'),
						url: "/pages/user/wallet"
					},
					{
						title: "订单",
						icon: require('@/static//image/images/order.png'),
						url: "/pages/user/order"
					},
					{
						title: "地址",
						icon: require('@/static//image/images/address.png'),
						url: "/pages/user/my_address"
					},
					{
						title: "联系客服",
						icon: require('@/static/image/images/chat.png'),
						url: ""
					},
					{
						title: "意见反馈",
						icon: require('@/static/image/images/pant.png'),
						url: '/pages/user/feedback'
					},
				]
			}
		},
		methods: {

		}
	}
</script>

<style lang="scss" scoped>
	.head_portrait {
		width: 100%;
		height: 500rpx;
		background-color: #2a5aa4;
	}
</style>
